Skip to content

Conversation

@bantonsson
Copy link
Contributor

@bantonsson bantonsson commented Nov 7, 2025

Fixes #2886, #2743, #2744, #2745, #2746

Changes

Removes the following public fields and methods from the SpanBuilder:

  • trace_id, span_id, end_time, status, sampling_result
  • with_trace_id, with_span_id, with_end_time, with_status, with_sampling_result

Removes the following public hidden methods from the SdkTracer:

  • id_generator, should_sample

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

@codecov
Copy link

codecov bot commented Nov 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.8%. Comparing base (c4f59da) to head (45edb11).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #3227     +/-   ##
=======================================
+ Coverage   80.6%   80.8%   +0.1%     
=======================================
  Files        128     128             
  Lines      23198   23156     -42     
=======================================
- Hits       18719   18711      -8     
+ Misses      4479    4445     -34     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bantonsson bantonsson force-pushed the ban/clean-up-spanbuilder branch from 0c92f07 to 45edb11 Compare November 7, 2025 13:25
@bantonsson bantonsson marked this pull request as ready for review November 7, 2025 13:25
@bantonsson bantonsson requested a review from a team as a code owner November 7, 2025 13:25
@cijothomas cijothomas merged commit b55d483 into open-telemetry:main Nov 7, 2025
28 checks passed
@bantonsson bantonsson deleted the ban/clean-up-spanbuilder branch November 10, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants